//
//  ResourcesViewController.h
//  CareGiver
//
//  Created by Guillermo Moral on 8/14/14.
//  Copyright (c) 2014 Humana. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ResourceTableViewCell.h"
#import <CoreLocation/CoreLocation.h>
#import "ResourceDetailViewController.h"
#import  "SearchAddress.h"
#import "TTTAttributedLabel.h"

@interface ResourcesViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, UISearchBarDelegate, CLLocationManagerDelegate, TTTAttributedLabelDelegate, UIActionSheetDelegate>

@property (strong, nonatomic) IBOutlet UINavigationItem *navigation;

@property (strong, nonatomic) IBOutlet TTTAttributedLabel *linkUrl;


@property (weak, nonatomic) IBOutlet UITableView *tbl_resourceList;
@property (strong, nonatomic) IBOutlet UIView *searchContentView;

@property (strong, nonatomic) IBOutlet UISearchBar *searchKeyword;


@property (strong, nonatomic) IBOutlet UIView *veilView;
@property (nonatomic, weak)UILabel *message;
@property int lastMessageRow;
@property (strong, nonatomic) NSMutableArray *resourcesData;
@property (nonatomic) BOOL smServiceCallInProgress;
@property (nonatomic)NSInteger totalNumberOfResources;
@property (nonatomic, strong)SearchAddress *searchAddress;
@property (nonatomic)BOOL hasData;
@property (nonatomic, strong)NSString *phone;

- (IBAction)cancelButonPress:(id)sender;

@end
